package com.glacier.thread;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * date 2024-01-03 12:09
 *
 * @author glacier
 * @version 1.0
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
public class Stock {
    private int count;

    public void decrement() {
        count--;
    }
}
